package com.eedi.framework.user.convert;

import com.eedi.framework.user.controller.sys.vo.SysUserLoginInfoResp;
import com.eedi.framework.user.controller.sys.vo.SysUserProfileEditReq;
import com.eedi.framework.user.dal.dataobject.SysUserDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author wangyitao
 * @date 2024/3/2 16:06
 * @mood happy
 */
@Mapper
public interface SysUserConvert {
    SysUserConvert INSTANCE = Mappers.getMapper(SysUserConvert.class);



    SysUserLoginInfoResp convert(SysUserDO sysUserDO);

    List<SysUserLoginInfoResp> convert(List<SysUserDO> sysUsers);

    SysUserDO convert(SysUserProfileEditReq req);
}
